package com.cskaoyan.service;

import com.cskaoyan.bean.Ad;
import com.cskaoyan.bean.Coupon;
import com.cskaoyan.bean.GrouponRules;
import com.cskaoyan.bean.Topic;
import com.cskaoyan.bo.SearchGrouponRulesBO;
import com.cskaoyan.bo.AdBO;
import com.cskaoyan.bo.CouponBO;
import com.cskaoyan.bo.CouponUserBo;
import com.cskaoyan.bo.SearchTopicBO;
import com.cskaoyan.vo.*;

import com.cskaoyan.vo.AdVO;
import com.cskaoyan.vo.CouponUserVO;
import com.cskaoyan.vo.CouponVO;
import com.cskaoyan.vo.TopicVO;

public interface ExtensionManagementService {
    AdVO query(AdBO adBO);

    TopicVO getTopic(SearchTopicBO searchTopicBO);

    CreateTopicVO createTopic(Topic topic);

    void updateAd(Ad ad);

    Ad addAd(Ad ad);

    void deleteAd(Ad ad);

    CouponVO queryCoupon(CouponBO couponBO);

    void deleteCoupon(Coupon coupon);

    Coupon addCoupon(Coupon coupon);

    void deleteTopic(Topic topic);

    void updateTopic(Topic topic);

    void updateCoupon(Coupon coupon);

    Coupon getCoupon(Integer id);

    GrouponRulesVO getGrouponRules(SearchGrouponRulesBO searchGrouponRulesBO);

    void deleteGrouponRules(GrouponRules grouponRules);

    GrouponRules createGrouponRules(GrouponRules grouponRules);

    void updateGrouponRules(GrouponRules grouponRules);

    GrouponRecordVO getGrouponRecord(SearchGrouponRulesBO searchGrouponRulesBO);

    CouponUserVO queryCouponUser(CouponUserBo couponUserBo);

    Integer exitGoodsId(GrouponRules grouponRules);
}
